<?php

abstract class InventoryForm
{
    protected $values;
    protected $isValid;

    public abstract function Bind();

    public abstract function Save();

    public function GetValue($field)
    {
        return $this->values[$field];
    }

    protected abstract function Validate();

    public function IsValid()
    {
        return $this->isValid;
    }

}